<?php

namespace App\Constant;

class FishCode {
    /*
     * 返回码
     * */
    const CODE_REQUEST_SUCCESS = '1000';
    const CODE_PARAMS_EMPTY    = '1001';
    const CODE_SIGN_ERROR      = '1002';
    const CODE_LOGIC_ERROR     = '1003';
    const CODE_OTHER_ERROR     = '1004';

    /*
     * 返回消息
     * */
    const MSG_IMPACT_SUCCESS_NEW = '撞库成功,新用户.';
    const MSG_IMPACT_SUCCESS_OLD = '撞库成功,老用户.';
    const MSG_PARAMS_NOT_FULL    = '请求参数为空';
    const MSG_SIGN_ERROR         = '验签失败';

    /*
     * 新老用户状态 1=老用户 0=新用户
     * */
    const STATUS_OLD = 1, STATUS_NEW = 0;

}